package com.xyf.sys.mapper;

import com.xyf.sys.domain.Delivery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface DeliveryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Delivery record);

    int insertSelective(Delivery record);

    Delivery selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Delivery record);

    int updateByPrimaryKey(Delivery record);

    List<Delivery> selectAll();

    Delivery selectByDeliveryId(@Param("deliveryId") String deliveryId);
}